package com.chris.libs.example.model;

import android.app.Activity;

import androidx.annotation.DrawableRes;

/**
 * @author Chris chan
 * Create on： 2025/2/1 20:51
 * Use for:
 * Explain:
 */
public class FunItem {
    private String title;
    private String iconUrl;
    private @DrawableRes
    int icon;
    private Class<? extends Activity> targetActivityClass;

    public FunItem(String title, Class<? extends Activity> targetActivityClass) {
        this.title = title;
        this.targetActivityClass = targetActivityClass;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public Class<? extends Activity> getTargetActivityClass() {
        return targetActivityClass;
    }

    public void setTargetActivityClass(Class<? extends Activity> targetActivityClass) {
        this.targetActivityClass = targetActivityClass;
    }
}
